package com.ieds.web.service;

import com.ieds.core.mapper.RDatabaseDao;
import com.ieds.core.model.RDatabase;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: wanglei
 * @Date: 2020.05.22
 * @Description: 资源库的数据源服务类
 * @version: 1.0
 */
@Service
public class RDatabaseService {
    @Autowired
    private RDatabaseDao rDatabaseDao;

    public List<RDatabase> getList(){
        List<RDatabase> rDatabaseList = rDatabaseDao.all();
        return rDatabaseList;
    }
}
